<template>
  <div class="goods-detail box clmstart">
    <div class="backbox">
      <img
        src="@/assets/img/back.png"
        class="goback"
        @click="$router.replace('/store')"
      />
    </div>
    <!-- 商品详情 -->
    <img :src="goods_url" class="goods-img" />
  </div>
</template>
<script>
export default {
  data() {
    return {
      goods_url: "",
    };
  },
  mounted() {
    this.goods_url = this.$route.query.goods_url
  },
};
</script>
<style lang="less" scoped>
.goods-detail {
  overflow-y: scroll;
  .backbox{
    position: fixed;
  }
  .goods-img {
    width: 100%;
  }
}
</style>
